package com.gugee.tiktok.web.service;



import com.gugee.tiktok.web.dto.HelpCenterArticleSummaryDto;
import com.gugee.tiktok.web.dto.HelpCenterMenuDto;
import com.gugee.tiktok.web.model.mysql.HelpArticle;
import com.xiguaji.boot.toolkit.jdbc.Page;

import java.util.List;

public interface HelperService {
    //查询所有菜单
     List<HelpCenterMenuDto> findAllHelpCenterMenuDtos();
    //通过菜单id查询文章列表 分页
    Page<HelpCenterArticleSummaryDto> findAllArticlesSummary(Long menuId, int pageNumber, int pageSize);
    //通过菜单id查询文章列表
    List<HelpCenterArticleSummaryDto> findAllArticlesSummary(Long menuId);
    //通过文章id查询文章
    HelpArticle findHelpCenterArticleDtoById(Long articleId);
}
